/*
 * Copyright @ 2024 weili23
 * com.hmdp.utils 17:55
 * All right reserved.
 */

package com.hmdp.utils;

/**
 * @desc:定义锁的接口
 * @author: weili23
 * @createTime: 2024/3/21 17:55
 * @version: v1.0
 */
public interface ILock {
    boolean tryLock(Long time);
    void unlock();
}
